#include <stdio.h>
int main(int argc,char *argv[])
{
	char ch;
	FILE *pfr = fopen(argv[1],"r");
	FILE *pfw = fopen(argv[2],"w");
	if(NULL == pfw)
	{
		printf("can not open the file %s",argv[2]);
	}
	if(NULL == pfr)
	{
		printf("can not open the file %s",argv[1]);
	}
	while((ch=fgetc(pfr))!=EOF)
	{
		fputc(ch,pfw);
	}

	fclose(pfr);
	fclose(pfw);

	pfr =NULL;
	pfw =NULL;
	return 0;


}
